﻿@page "/"

@if (_isAuthenticated)
{
    <h1>Hello, @_user.Email!</h1>
    <div>
        <button @onclick=_logout>Logout</button>
    </div>
}
else{
    <h1>Hello, Not Authenticated!</h1>
    <div>
        <button @onclick=_login>Login</button>
    </div>
}
